package com.eight.cloud.payment.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * 微信支付服务商配置
 *
 * @ClassName: WechatServiceProviderConfig
 * @Author: TXC
 * @Date: 2024-10-21 16:25
 **/
@Data
@Configuration
@ConfigurationProperties("partner.payment.service.provider")
@RefreshScope
public class WechatServiceProviderConfig {
    /**
     * 服务商应用载体的AppID
     */
    private String appid;
    /**
     * 服务商在微信侧申请入驻的收款账号
     */
    private String merchantId;
    /**
     * 证书编号
     */
    private String merchantSerialNumber;
    /**
     * 支付回调服务器地址
     */
    private String notifyServiceUrl;

    /**
     * 接口密钥
     */
    private String apiV3Key;
}
